:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --background: #f5f6fa;
}

.admin-container {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 240px;
  background: var(--primary-color);
  padding: 20px;
  color: white;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 40px;
}

.sidebar nav ul {
  list-style: none;
  padding: 0;
}

.sidebar nav li {
  margin: 15px 0;
}

.sidebar nav a {
  color: #bdc3c7;
  text-decoration: none;
  transition: 0.3s;
}

.sidebar nav a:hover {
  color: white;
}

.content {
  flex: 1;
  padding: 30px;
  background: var(--background);
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card h3 {
  color: #7f8c8d;
  margin: 0 0 10px;
}

.card .number {
  font-size: 28px;
  color: var(--primary-color);
}

table, .passdata-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  margin: 20px 0;
}

.passdata-table th.selected-column,
.passdata-table td.selected-column {
  background-color: #e6f3ff;
  color: #0066cc;
  font-weight: bold;
  position: relative;
}

.passdata-table th.selected-column::after,
.passdata-table td.selected-column::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: #0066cc;
}

thead {
  background: var(--primary-color);
  color: white;
}

th, td {
  padding: 12px 15px;
  text-align: left;
}

tbody tr:nth-child(even) {
  background: #f8f9fa;
}

.status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.9em;
}

.status.active {
  background: #2ecc71;
  color: white;
}

.status.warning {
  background: #f1c40f;
  color: black;
}

.pagination {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.pagination button {
  padding: 8px 16px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
  border-radius: 4px;
}

.pagination button:hover {
  background: #f8f9fa;
}

.filter-section {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}

.search-box {
  flex: 1;
  display: flex;
  gap: 10px;
}

.search-box input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.search-box button {
  padding: 8px 20px;
  background: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 4px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.status-box {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

.data-section {
    padding: 20px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

h1 {
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}